package com.test.example;

import com.test.example.command.Command;
import com.test.example.command.QueryCommandImpl;

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        System.out.println("1-查询价格");
        Scanner in = new Scanner(System.in);
        Integer cmd = in.nextInt();
        switch (cmd){
            case 1:
                Command command = new QueryCommandImpl();
                command.execute();
                break;
        }
    }
}
